a=[0.866 -0.5 0 0
    0.5 0.866 0 0
    0 0 1 0
    0 0 0 1]
mg=inv(a)